Simply add a sleep command in between each image
and it will delay it by a second. For most people,
they don't have this problem, since the network
accounts for enough lag, but if you have small
images, they may appear to skip or jump. To fix this,
add the line:
sleep 1;
inside the loop that looks like:
foreach $file (@files) {
}
It will probably work best if you put it at the
end of this loop.